$OpenBSD: patch-digikam_libs_greycstoration_CImg_h,v 1.4 2009/09/27 23:47:22 sthen Exp $
--- digikam/libs/greycstoration/CImg.h.orig	Fri Jul  3 05:19:41 2009
+++ digikam/libs/greycstoration/CImg.h	Thu Sep 10 21:08:53 2009
@@ -130,6 +130,7 @@
 #if cimg_OS==1
 #include <sys/time.h>
 #include <unistd.h>
+#include <pthread.h>
 #elif cimg_OS==2
 #include <windows.h>
 #ifndef _WIN32_IE
@@ -199,7 +200,6 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/keysym.h>
-#include <pthread.h>
 #ifdef cimg_use_xshm
 #include <sys/ipc.h>
 #include <sys/shm.h>
